﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SubjectList.ascx.cs"
    Inherits="Job.Web.userControls.Public.SubjectList" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<table width="100%" border="0">
    <tr>
        <td align="right" Width="100%">
            <webdiyer:AspNetPager Width="100%" ID="pagerTop" runat="server" 
				ButtonImageNameExtension="n" ButtonImageExtension=".gif"
                DisabledButtonImageNameExtension="g" CpiButtonImageNameExtension="r" 
				CssClass="pagination" CurrentPageButtonClass="current"
                PagingButtonClass="" PagingButtonLayoutType="Span" PageSize="10" 
                onpagechanged="pagerTop_PageChanged" 
                onpagechanging="pagerTop_PageChanging" 
                CustomInfoHTML="共<font color='red'> %RecordCount% </font>条记录 当前第<font color='red'> %CurrentPageIndex% </font>页/共<font color='red'> %PageCount% </font>页"
                LayoutType="Table" ShowCustomInfoSection="Left" 
				CustomInfoClass="pagerCustomerinfo" AlwaysShow="True" 
				CustomInfoTextAlign="Left" HorizontalAlign="Right">
            </webdiyer:AspNetPager>
        </td>
    </tr>
    <tr>
        <td>
            <asp:DataList Width="100%" ID="dlList" runat="server" OnItemDataBound="dlList_ItemDataBound">
                <ItemTemplate>
                    <table class="subjectList_td" width="100%">
                        <tr>
                            <td width="4">
                                ·
                            </td>
                            <td>
                                <asp:HyperLink CssClass="subjectList_A" ID="hlDetail" runat="server"><%#DataBinder.Eval(Container.DataItem,"title")%></asp:HyperLink>
                                &nbsp;&nbsp;
                                <asp:Label ID="lbltime" Visible="true" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"last_update_time","{0:yyyy-MM-dd}")%>'></asp:Label>
                            </td>
                        </tr>
                    </table>
                    <asp:Label ID="lblid" Visible="false" runat="server" Text='<%#DataBinder.Eval(Container.DataItem,"content_id")%>'></asp:Label>
                </ItemTemplate>
            </asp:DataList>
        </td>
    </tr>
    <tr>
        <td align="right" Width="100%">
            <webdiyer:AspNetPager Width="100%" ID="pagerButtom" runat="server" ButtonImageNameExtension="n"
                ButtonImageExtension=".gif" DisabledButtonImageNameExtension="g" 
				CpiButtonImageNameExtension="r" CssClass="pagination" CurrentPageButtonClass="current"
                PagingButtonClass="" PagingButtonLayoutType="Span" PageSize="10" 
                CustomInfoHTML="共<font color='red'> %RecordCount% </font>条记录 当前第<font color='red'> %CurrentPageIndex% </font>页/共<font color='red'> %PageCount% </font>页" 
                onpagechanged="pagerButtom_PageChanged" 
                onpagechanging="pagerButtom_PageChanging" ShowCustomInfoSection="Left" 
				FirstLastButtonStyle="" MoreButtonStyle="" 
				PagingButtonStyle="" CustomInfoClass="pagerCustomerinfo" LayoutType="Table" 
				AlwaysShow="True" CustomInfoTextAlign="Left" HorizontalAlign="Right">
            </webdiyer:AspNetPager>
        </td>
    </tr>
</table>
